package org.csu.newpetstoreback.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

@Data
@TableName("collect")
public class Collect {
    //联合主键
    @MppMultiId
    @TableField(value = "username")
    private String username;
    //联合主键
    @MppMultiId
    @TableField(value ="itemid")
    private String itemId;
}
